<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>frame left</title>
    </head>
    <body>
        sidebar
        <ul>
            <li><a href="consolemessage.html" target="frameright" id="linktoclick">open</a></li>
        </ul>
        
        <script type="text/javascript">
            function setFocusInOtherFrame() {
                window.parent.frames[0].focus();
                return "ok";
            }
        </script>
    </body>
</html>